package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品对象 a_goods
 * 
 * @author ruoyi
 * @date 2024-12-11
 */
public class AGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    @Excel(name = "商品id")
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String name;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private Double money;

    /** 提货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 上架时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上架时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creat;

    /** 类型 */
    @Excel(name = "类型")
    private Long gc;

    /** 商品规格 */
    @Excel(name = "商品规格")
    private String gueige;

    /** 详细介绍 */
    @Excel(name = "详细介绍")
    private String text;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String image;

    /** 销量 */
    @Excel(name = "销量")
    private Long totalsale;

    /** 长图片 */
    @Excel(name = "长图片")
    private String bigimage;

    /** 商户id */
    @Excel(name = "商户id")
    private Long shopId;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private Long del;

    private String leixing;

    public String getLeixing() {
        return leixing;
    }

    public void setLeixing(String leixing) {
        this.leixing = leixing;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMoney(Double money)
    {
        this.money = money;
    }

    public Double getMoney()
    {
        return money;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setCreat(Date creat) 
    {
        this.creat = creat;
    }

    public Date getCreat() 
    {
        return creat;
    }
    public void setGc(Long gc) 
    {
        this.gc = gc;
    }

    public Long getGc() 
    {
        return gc;
    }
    public void setGueige(String gueige) 
    {
        this.gueige = gueige;
    }

    public String getGueige() 
    {
        return gueige;
    }
    public void setText(String text) 
    {
        this.text = text;
    }

    public String getText() 
    {
        return text;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setTotalsale(Long totalsale) 
    {
        this.totalsale = totalsale;
    }

    public Long getTotalsale() 
    {
        return totalsale;
    }
    public void setBigimage(String bigimage) 
    {
        this.bigimage = bigimage;
    }

    public String getBigimage() 
    {
        return bigimage;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("money", getMoney())
            .append("time", getTime())
            .append("creat", getCreat())
            .append("gc", getGc())
            .append("gueige", getGueige())
            .append("text", getText())
            .append("image", getImage())
            .append("totalsale", getTotalsale())
            .append("bigimage", getBigimage())
            .append("shopId", getShopId())
            .append("del", getDel())
            .toString();
    }
}
